<!--
 * @Author: Zhong admin@51y.cc
 * @Description: 订单详情
 * @FilePath: /tenement-admin/src/views/workOrder/mallOrder/orderInfo.vue
 * @LastEditTime: 2024-10-22 11:28:05
 * @LastEditors: Zhong
-->
<template>
  <div>
    <div>订单编号: {{ orderId }}</div>
    <div class="flex items-center mt-2">
      <el-image
        :src="detail.mainImg"
        preview-teleported
        :preview-src-list="[detail.mainImg]"
        fit="cover"
        :limit="1"
        style="width: 50px; height: 50px"
      />
      <div class="text-[14px] ml-2 text-[#333]">
        <div>{{ detail.mallProductTitle }}</div>
        <div class="text-[#666] text-[12px]">{{ detail.mallSkuValue }}</div>
      </div>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  orderId: {
    type: String,
    required: true,
  },
  detail: {
    type: Object,
    required: true,
  },
});
</script>

<style scoped></style>
